<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>A4纸</title>
    <style type="text/css">
        body {
            margin: 0;
            padding: 0;
            background-color: #FAFAFA;
            font: 12pt "Tahoma";
        }

        * {
            box-sizing: border-box;
            -moz-box-sizing: border-box;
        }

        .page {
            width: 21cm;
            min-height: 29.7cm;
            padding: 1cm;
            margin: 1cm auto;
            border: 1px #D3D3D3 solid;
            border-radius: 5px;
            background: white;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        }

        .subpage {
            width: 100%;
            padding: 1cm;
            border: 5px solid;
            height: 256mm;
            outline: 2cm white solid;
        }

        @page {
            size: A4;
            margin: 0;
        }



    </style>
</head>
<body>
<div class="page">
    <div class="subpage">

    </div>
</div>
</body>
</html>
